package com.mocha.dao;

import com.mocha.domain.entity.User;
//import org.apache.ibatis.annotations.Insert;
//import org.apache.ibatis.annotations.Mapper;
//import org.apache.ibatis.annotations.Param;
//import org.apache.ibatis.annotations.Select;

//@Mapper
public interface UserDao {

//    @Insert("insert into user (name,age) values ('asdf',12))")
    void insertUser(User user);

//    @Select("select * from user where name = #{name}")
    User getUser(/*@Param(value = "name")*/ String name);

}
